---
title: VictoryMultiLabelableProps
---

A set of props available to components that can display multiple labels.

## Inherited Props

<CommonProps
  interfaces={[
    "VictoryLabelableProps",
  ]}
/>

## Props

---

### labels

<Badges>
  <TypeBadge value="string[] | number[] | function" />
</Badges>

The `labels` prop defines the labels that will appear above each point. This prop should be given as an array or as a function. When given as a function, `labels` will be called with a single argument: an object containing all the props supplied to the label component. A full list of props that will be passed to `VictoryLabel` is given [here](/docs/api/victory-label).

#### Common Usage

- `labels={["first", "second", "third"]}`
- `labels={({ datum }) => datum.y}`

```jsx live
<VictoryBar
  data={sampleData}
  labels={({ datum }) => `y: ${datum.y}`}
  theme={VictoryTheme.clean}
/>
```
